/*
 * SupplierController.java 2012-8-23
 * Copyright(c) 20012-2015 by covidien
 * ALL Rights Reserved.
 */
package com.mvc.base.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.mvc.base.model.Supplier;
import com.mvc.base.service.SupplierManager;
import com.mvc.framework.service.PageManager;

@Controller
@RequestMapping("supplier")
public class SupplierController extends BaseGroupController<Supplier> {

	@Autowired
	private SupplierManager	supplierManager;

	@Override
	public PageManager<Supplier> getEntityManager() {
		return supplierManager;
	}

	@Override
	public String getFileBasePath() {
		return "base/";
	}

}
